﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Dtyo.Master" AutoEventWireup="true" CodeBehind="EmpDetails.aspx.cs" Inherits="Dtyo_WebRole.Emp.EmpDetails" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <h3>Employee Details</h3>
    
    <form id="editEmployeeForm" action="">
    
    <h3>Edit Employee</h3>
        <table>   
        <tr>
            <td>FirstName:</td>
            <td><asp:TextBox ID="txtFirstName" runat="server" /></td>
        </tr>
        <tr>
            <td>LastName: </td>
            <td><asp:TextBox ID="txtLastName" runat="server"/></td>
        </tr>
        <tr>
            <td>Department: </td>
            <td>
                <asp:DropDownList id="ddDeps" DataSourceID="DepartmentListDataSource" 
				    DataTextField="Name" 
				    DataValueField="RowKey" 
				    AppendDataBoundItems="True"
				    Runat="server">
			        <asp:ListItem Text="-- Select --"  /> 	
			    </asp:DropDownList>     
            </td>
        </tr>
        <tr>   
            <td></td>
            <td><asp:Button ID="SaveEmployeeButton" runat="server" OnClick="SaveEmployeeButton_Click" Text="Save" /><input type="reset" value="Cancel"/></td>
        </tr>
    </table>   
    </form>
    <a href="EmpList.aspx">Employee List</a>
</asp:Content>
